<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <table border="1">
        <tr>
            {% for foo in poemaa %}
                {{ foo.title }}
                <br>
                {{ foo.author.name }}
                <br>
                {{ foo.thefirstleague }}
                <br>
                {{ foo.hanlian }}
                <br>
                {{ foo.gengian }}
                <br>
                {{ foo.tailal }}
            <br>
            <a href="{% url 'poemadd' %}">诗词添加</a>
        &nbsp;  &nbsp;
            <a href="{% url 'poem_alter' foo.id%}">修改</a>
            &nbsp;&nbsp;
            <a href="{% url 'dele' foo.id%}">删除</a>
                <br>
                <br>
                <br>
        </tr>
            {% endfor %}
</table>
</div>
</body>
</html>